package com.glela.common;

/**
 * description	Mapper基类接口
 */
public interface BaseSqlMapper<T> {
	
	int deleteByPrimaryKey(Long id);

    int insert(T entity);

    int insertSelective(T entity);

    T selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(T entity);

    int updateByPrimaryKey(T entity);
    
}
